12#ifndef ROC_SNDIO_ISOURCE_H_
13#define ROC_SNDIO_ISOURCE_H_
virtual bool read(audio::Frame &)=0
Read frame.
@ Active
Source is active and is producing some sound.
@ Inactive
Source is inactive and is producing silence.
virtual State state() const =0
Get current source state.
virtual size_t sample_rate() const =0
Get source sample rate.
virtual void wait_active() const =0
Wait until the source state becomes active.
virtual bool has_clock() const =0
Check if the source has own clock.